home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gLstPeopleflashLight
- hChickletState("flashlight on", "FLSHLITE.AIF")
- set l8DoneP to getProp(gLstPeopleflashLight, 8)
- set l9DoneP to getProp(gLstPeopleflashLight, 9)
- set l10DoneP to getProp(gLstPeopleflashLight, 10)
- set l11DoneP to getProp(gLstPeopleflashLight, 11)
- set l12DoneP to getProp(gLstPeopleflashLight, 12)
- set l13DoneP to getProp(gLstPeopleflashLight, 13)
- if l8DoneP = 0 then
- hVisibleSprite(1, 8, 8)
- end if
- if l9DoneP = 0 then
- hVisibleSprite(1, 9, 9)
- end if
- if l10DoneP = 0 then
- hVisibleSprite(1, 10, 10)
- end if
- if l11DoneP = 0 then
- hVisibleSprite(1, 11, 11)
- end if
- if l12DoneP = 0 then
- hVisibleSprite(1, 12, 12)
- end if
- if l13DoneP = 0 then
- hVisibleSprite(1, 13, 13)
- end if
- updateStage()
- repeat while the mouseDown
- nothing()
- end repeat
- hChickletState("flashlight off", 0)
- hVisibleSprite(0, 8, 13)
- updateStage()
- end
-